//
//  UtilityClass.h
//  Graduate
//
//  Created by xp on 16/8/2.
//  Copyright © 2016年 mingthink. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//#import <AlipaySDK/AlipaySDK.h>
#import "WXApi.h"
#import "zlib.h"
typedef void (^payResultBlock)(NSDictionary *resultDict);
@interface MyUtility : NSObject

#pragma 取得当前系统时间戳
+(NSString *) getCurrentTimeStamp;
/** 获取当前日期 */
+(NSDate *)getCurrentDate;
/** 判断对象是否为空*/
+(BOOL)isEmpty:(id)string;
/**获取一串汉字的拼音*/
+ (NSString *)pinYinTransform:(NSString *)chinese;
/** 获取沙盒路径*/
+ (NSString *)getDocumentDirectory;
/** 拼接图片地址*/
+(NSString*)getImageUrl:(NSString*)path;
+(NSString*)checkURL:(NSString* )urlStr;
+(NSDictionary *)getParamsDictFromURL:(NSString *)urlStr;
/** 打印网络请求的URL及参数*/
+(void) printParams:(NSMutableDictionary*)params andURL:(NSString *)urlStr;
+(NSString *)dateFormatterWithDateString:(NSString *)dateStr;
/** 获取app版本号*/
+(NSString *)getAppShortVersion;
+(NSString *)getAppBuildVersion;
/** 生成唯一识别号*/
+(NSString *)getDvid;
+ (NSString *)createUUID;
+ (NSString *)createIDFV;
+(NSData *)uncompressZippedData:(NSData *)compressedData;
@end
